package cn.yunhe.hom2;

public class Dog extends MyPet {
    String species;

    public Dog(String name, int age, String color, String species) {
        super(name, age, color);
        this.species = species;
    }

    public Dog() {
    }

    @Override
    public void playWithOwner() {
        super.playWithOwner();
    }

    public void kanMen() {
        System.out.println("我是"+getName()+"我看门");
    }
}
